package com.atjinggu.jinggumail.product.service;

import com.atjinggu.jinggumail.product.vo.CateLog2Vo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atjinggu.jinggumail.common.utils.PageUtils;
import com.atjinggu.jinggumail.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author jingming
 * @email jingming@gmail.com
 * @date 2020-12-12 23:08:28
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> queryTree(Map<String, Object> params);

    void deleteMenuIds(List<Long> asList);

    Long[] getPaths(Long catelogId);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getLevel1Categorys();

    Map<String, List<CateLog2Vo>> getCategoryTree();

}

